import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);


export default new Vuex.Store({
  state: {
	authorizedLogin:false,
	statusBarHeight:0,
	// 加载转圈圈那个
	loadingGo: false
  },
  mutations: {
    ahLoginShow(state){
		state.authorizedLogin=true;
	},
	ahLoginHide(state){
		state.authorizedLogin=false;
	},
	getStatusBarHeight(state,val){
		state.statusBarHeight = val;
	},
	showLoadGo(state,show) {
	  state.loadingGo = show;
	}
  }
})